﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using MvcMasterPage.Entity;
using Commons.Entity;

namespace MvcMasterPage.BLL
{
    public class ReviewManager : BLLBase
    {
        public VMessage AddReview(Review entity)
        {
            try
            {
                base.LoadRepository.Insert(entity);
            }
            catch (Exception ex)
            {
                VM.AddItem(ex.Message);
                throw;
            }
            return VM;
        }

       
    }
}